<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); if(($_GET['mod'] != 'misc') && ($_GET['mod'] != 'space' && $_GET['mycenter'] != 1) && ($_GET['mod'] != 'post') && ($_G['basescript'] != 'member') && ($_G['basescript'] != 'register')) { ?>
<div class="ainuo_quick_bot" id="ainuo_quick_bot">
<?php if($_G['uid'] && getstatus($_G['member']['allowadmincp'], 1)) { ?>
        <?php if(($_GET['forumlist'] == 1) || ($_GET['mod'] == 'guide') || ($_GET['mod'] == 'topic')) { ?>
            <a href="javascript:;" onclick="openDiy()" class="ascrolldiy">DIY</a>
        <?php } ?>
    <?php } ?>
    
    <?php if(($_G['basescript'] == 'group') && ($_G['mod'] != 'group') && ($_G['mod'] != 'viewthread')) { ?>
<a href="forum.php?mod=group&amp;action=create" class="ainuo_quick_post"><i class="iconfont icon-add1"></i></a>
    <?php } ?>
    
<?php if(($_GET['mod'] == 'forumdisplay') || ($_GET['mod'] == 'viewthread') || ($_GET['mod'] == 'group')) { ?>
    	<?php if(($_GET['mod'] == 'forumdisplay')) { ?>
<a href="javascript:;" id="show-actions" class="ainuo_quick_post"><i class="iconfont icon-post"></i></a>
        <?php } else { ?>
        	<a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>" class="ainuo_quick_post"><i class="iconfont icon-post"></i></a>
        <?php } ?>
    <?php } ?>
    
    <?php if(($_GET['forumlist'] != 1) && ($_GET['mod'] != 'guide') && ($_GET['mod'] != 'post') && ($_GET['mod'] != 'topic')) { ?>
<a href="javascript:;" id="ainuo_toggle_menu" class="ainuo_quick_menu"><i class="iconfont icon-menu1"></i></a>
    <?php } ?>
    <?php if(($_GET['mod'] == 'guide')) { ?>
<a href="javascript:;" id="ainuo_toggle_menuguide" class="ainuo_quick_menu"><i class="iconfont icon-menu1"></i></a>
    <?php } ?>
<a href="javascript:;" id="ainuo_toggle_top" class="ainuo_quick_menu" style="display:none;"><i class="iconfont icon-top"></i></a>

</div>
<?php } ?>


<script>
$('.ainuo_nologin').on('click', function() {
<?php if(!$_G['uid']) { if($Appbyme && $_G['cache']['plugin']['qu_app']['app_login']) { ?>
sq.login(function(userInfo){});
return false;
<?php } else { ?>
popup.open('您还未登录，立即登录?', 'confirm', 'member.php?mod=logging&action=login');
return false;
<?php } } ?>
});
</script>

